package com.ifp.opengate.boot.predicate;

import java.util.function.Predicate;

import com.ifp.core.log.Trace;

/**
 * Created by mogs on 2019/4/23. 断言处理类，用于ReadBodyPredicateFactory,读取请求上送的报文，默认返回true
 */
public class ReadBodyPredicate implements Predicate {

    @Override
    public boolean test(Object obj) {
        Trace.logDebug(Trace.MODULE_DATA, "request's data:{}", obj);
        return true;
    }

}
